app.constant("dataUrl",'http://127.0.0.1:4000')
<<<<<<< HEAD
	app.controller('mine',['$scope','$http','dataUrl',function($scope,$http,dataUrl){
	var spit = document.querySelector(".mine-spit");
	var nav = document.querySelector(".mine-nav");
	var header = document.querySelector(".mine-head");
	var cl = document.querySelector("#mine-cl");

=======
	app.controller('mine',['$scope','$http','dataUrl','$rootScope','$timeout',function($scope,$http,dataUrl,$rootScope,$timeout){
>>>>>>> 9926f25e42e7b76e3063bfa9d4d87e46e2d27463
	var a = document.querySelector("#mine-cl");
		a.onclick = function(){
		console.log(1)
		document.querySelector(".mine-main").style.display = "block";
		document.querySelector(".mine-main").onclick = function(){
			document.querySelector(".mine-main").style.display = "none";
		}
	}
	var notice = document.querySelectorAll(".notice");	
	for (var i=0;i<8;i++) {
			notice[i].onclick = function(){
			location.href = "html/notice.html"
		}
	}
<<<<<<< HEAD
	
	
	var i = 1;
	spit.onclick = function(){
		i++;
		nav.style.background = "url('img/a"+i+".jpg') 0 0 no-repeat";
		nav.style.backgroundSize = "cover";
		if(i >=3){
			i=0
		}
	}
	var j = 1;
	header.onclick = function(){
		j++
		cl.setAttribute("src","img/b"+j+".gif")
		if(j >=3){
			j=0
		}
	}

	
}])
app.config(['$routeProvider',function($routeProvider){
	$routeProvider.when('/cart',{templateUrl:'html/cart.html',controller:'cartController'})
}]);
=======
}])
>>>>>>> 9926f25e42e7b76e3063bfa9d4d87e46e2d27463
